package haizhi.fruitmall.pojo.po;

import haizhi.fruitmall.enumeration.PictureEnum;
import lombok.Data;

/**
 * @Date: 2017/12/27 11:02
 * @Author: Richard Zane
 */

@Data
public class PictureType {

    Integer typeCode;
    String typeHint;

    public PictureType(PictureEnum pictureEnum) {
        this.typeCode = pictureEnum.getCode();
        this.typeHint = pictureEnum.getHint();
    }
}
